package pig.model;

public class BuyVO {
	private int transactionNumber; // 결제번호
	private String customerId; // 구매자 아이디
	private String dealNumber; // 상품번호
	private int cartCount; // 상품개수
	private String sellerId; // 판매자 아이디
	private int dealPrice; // 상품가격
	private String dealTitle; // 상품명
	
	public BuyVO() {
		super();
	}
	
	public BuyVO(int transactionNumber, String customerId, String dealNumber,
			int cartCount, String sellerId, int dealPrice, String dealTitle) {
		super();
		this.transactionNumber = transactionNumber;
		this.customerId = customerId;
		this.dealNumber = dealNumber;
		this.cartCount = cartCount;
		this.sellerId = sellerId;
		this.dealPrice = dealPrice;
		this.dealTitle = dealTitle;
	}
	
	public int getTransactionNumber() {
		return transactionNumber;
	}
	
	public void setTransactionNumber(int transactionNumber) {
		this.transactionNumber = transactionNumber;
	}
	
	public String getCustomerId() {
		return customerId;
	}
	
	public void setCustomerId(String customerId) {
		this.customerId = customerId;
	}
	
	public String getDealNumber() {
		return dealNumber;
	}
	
	public void setDealNumber(String dealNumber) {
		this.dealNumber = dealNumber;
	}
	
	public int getCartCount() {
		return cartCount;
	}
	
	public void setCartCount(int cartCount) {
		this.cartCount = cartCount;
	}
	
	public String getSellerId() {
		return sellerId;
	}
	
	public void setSellerId(String sellerId) {
		this.sellerId = sellerId;
	}
	
	public int getDealPrice() {
		return dealPrice;
	}
	
	public void setDealPrice(int dealPrice) {
		this.dealPrice = dealPrice;
	}
	
	public String getDealTitle() {
		return dealTitle;
	}
	
	public void setDealTitle(String dealTitle) {
		this.dealTitle = dealTitle;
	}
	
	@Override
	public String toString() {
		return "BuyVO [transactionNumber=" + transactionNumber
				+ ", customerId=" + customerId + ", dealNumber=" + dealNumber
				+ ", cartCount=" + cartCount + ", sellerId=" + sellerId
				+ ", dealPrice=" + dealPrice + ", dealTitle=" + dealTitle + "]";
	}
}
